from pydantic import BaseModel
from datetime import date, datetime

'''
    03 基于Pydantic定义用于请求模型和响应模型的类
'''
class EmpSchema(BaseModel):
    empno: int
    ename: str
    job: str
    mgr: int
    hiredate: date
    sal: float
    comm: float
    deptno: int


